package com.xinzhi.savingpot.rminfo.mapper;

import com.xinzhi.savingpot.rminfo.entity.Limitinfo;
import com.xinzhi.savingpot.rminfo.entity.Recordinfo;
import com.xinzhi.savingpot.rminfo.entity.Rulesinfo;
import com.xinzhi.savingpot.rminfo.service.impl.LimitAllImpl;
import com.xinzhi.savingpot.userinfo.entity.UserInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface ITitleMapper {
    /**
     * 店铺分修改
     */
    int amendRecord(int userid,int shoppoints);

    /**
     * 添加违规信息
     * @param re
     * @return
     */
    int addRecordinfo(@Param("re") Recordinfo re);

    Limitinfo getLimittheway(Integer fklimitrecordid);

    Rulesinfo getscore (Integer fkcriminalrecordsid);

    UserInfo getUseridByid(Integer fkuserid);

}